package com.example.cloud.model.customer;

import com.example.cloud.model.common.CommonModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * Created by wt on 2019/1/3.
 * 满意度调查
 */
@Entity(name = "satis_record")
@Data
@EqualsAndHashCode(callSuper = false)
public class SatisRecord extends CommonModel{
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
    // 满意度
    @Column(name = "satis")
    private Integer satis;
    // 账户编号
    @Column(name = "accountId")
    private Long accountId;
    // 组织机构编号
    @Column(name = "organ_id")
    private Long organId;
    // 组织机构名称
    @Column(name = "organ_name")
    private String organName;
}
